package businesslogic.salebl;


public class SalesLineItem {
	private String goodsName;
	private String type;
	private String notes;
	private int number;
	private double unitPrice;
	private double total;
	
	
	public double getTotal(){
		total = number*unitPrice;
		return total;
	}
	
	public void addGoods(String loc, int number, double unitPrice, String notes){
		this.number = number;
		this.unitPrice = unitPrice;
		this.notes = notes;
	}
}
